import matplotlib.pyplot as plt
import numpy as np

x = np.array([1, 2, 3, 4])
y = np.array([1, 4, 2, 3])
ax1 = plt.subplot(331)
ax1.plot(x, y)
ax2 = plt.subplot(336)
ax2.scatter(x, y)
ax3 = plt.subplot(334)
ax3.scatter(x, y)
plt.show()  # Show the figure.
